package com.koron.order.linepatrol.uav.bean.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.koron.order.linepatrol.uav.excel.CustomStringStringConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: LinePatrolExcel
 * @Description:
 * @Date: 2023/2/10
 * @Author: 李一辰
 * @Version: 1.0
 **/
@Data
public class LinePatrolExcel {

    @ExcelProperty(index = 0)
    @ApiModelProperty("线路名称")
    private String equipmentName;

    @ExcelProperty(index = 1)
    @ApiModelProperty("杆塔名称")
    private String tower;

    @ExcelProperty(index = 2)
    @ApiModelProperty("缺陷部件")
    private String defectiveUnit;

    @ExcelProperty(index = 3,converter = CustomStringStringConverter.class)
    @ApiModelProperty("缺陷等级")
    private String defectLevel;



    @ExcelProperty(index = 4)
    @ApiModelProperty("说明")
    private String explain;



    @ExcelProperty(index = 5)
    @ApiModelProperty("发现日期")
    private Date findTime;


}
